import unittest
from src111 import c3
from src111 import c4
def createsuite():
# addTest 一个一个添加
 suite = unittest.TestSuite()
 suite.addTest(c3.Baidu1("test_hao"))
 suite.addTest(c3.Baidu1("test_baidu"))
 suite.addTest(c4.Baidu2("test_xinwen"))
 suite.addTest(c4.Baidu2("test_baidusearch"))
 return suite
if __name__=="__main__":
 suite = createsuite()
 runner = unittest.TextTestRunner(verbosity=2)
 runner.run(suite)